<!-- Start #sidebar -->
<div id="sidebar">
    <!-- Start .sidebar-inner -->
    <div class="sidebar-inner">
        <!-- Start #sideNav -->
        <ul id="sideNav" class="nav nav-pills nav-stacked">
            <li class="top-search">
                <form>
                    <input type="text" name="search" placeholder="搜索 ...">
                    <button type="submit"><i class="ec-search s20"></i>
                    </button>
                </form>
            </li>
            <li><a href="{:url('index/index')}">首页 <i class="im-home"></i></a></li>

            {eq name="aduser.rules,'权限管理' | rules" value="true"}
            <li>
                <a href="#"> 权限管理 <i class="im-users"></i></a>
                <ul class="nav sub">
                    {eq name="aduser.rules,'管理员管理' | rules" value="true"}
                    <li><a href="{:url('admin/index')}"><i class="im-users2"></i> 管理员管理</a></li>
                    {/eq}
                    {eq name="aduser.rules,'菜单规则' | rules" value="true"}
                    <li><a href="{:url('rule/index')}"><i class="en-vcard"></i> 菜单规则</a></li>
                    {/eq}
                </ul>
            </li>
            {/eq}

            {eq name="aduser.rules,  '会员'| rules" value="true"}
            <li>
                <a href="#"> 会员 <i class="im-users"></i></a>
                <ul class="nav sub">
                    {eq name="aduser.rules,  '会员列表'| rules" value="true"}
                    <li><a href="{:url('users/user_list')}"><i class="im-users2"></i> 会员列表</a></li>
                    {/eq}
                    <!--<li><a href="{:url('users/user_cz')}"><i class="im-coin"></i> 系统充值</a></li>-->
                    {eq name="aduser.rules, '实名审核' | rules" value="true"}
                    <li><a href="{:url('users/shiming_list')}"><i class="en-vcard"></i> 实名审核</a></li>
                    {/eq}
                    {eq name="aduser.rules, '团队查看' | rules" value="true"}
                    <li><a href="{:url('team/team_list')}"><i class="en-vcard"></i> 团队查看</a></li>
                    {/eq}
                    {eq name="aduser.rules, '团队结构图' | rules" value="true"}
                    <li><a href="{:url('users/getnextree')}"><i class="en-vcard"></i> 团队结构图</a></li>
                    {/eq}
                    {eq name="aduser.rules, '工会查看' | rules" value="true"}
                    <li><a href="{:url('users/shequ_list',['zt' => 'all'])}"><i class="en-vcard"></i> 工会查看</a></li>
                    {/eq}
                    {eq name="aduser.rules,  '工单系统'| rules" value="true"}
                    <li><a href="{:url('users/gongdan_list')}"><i class="br-diary"></i> 工单系统</a></li>
                    {/eq}
                    {eq name="aduser.rules,  '赠送'| rules" value="true"}
                    <li><a href="{:url('users/give')}"><i class="br-diary"></i> 赠送</a></li>
                    {/eq}
                </ul>
            </li>
            {/eq}
            {eq name="aduser.rules, '交易信息' | rules" value="true"}
            <li>
                <a href="#"> 交易信息 <i class="en-text2"></i></a>
                <ul class="nav sub">
                    {eq name="aduser.rules, '求购订单' | rules" value="true"}
                    <li><a href="{:url('trade/qiugou')}"><i class="im-pencil"></i> 求购订单</a></li>
                    {/eq}
                    {eq name="aduser.rules, '交易中订单' | rules" value="true"}
                    <li><a href="{:url('trade/jiaoyi')}"><i class="im-pencil2"></i> 交易中订单</a></li>
                    {/eq}
                    {eq name="aduser.rules,  '求购完成订单'| rules" value="true"}
                    <li><a href="{:url('trade/complete')}"><i class="im-pencil2"></i> 求购完成订单</a></li>
                    {/eq}
                    {eq name="aduser.rules,  '已取消订单'| rules" value="true"}
                    <li><a href="{:url('trade/cancel')}"><i class="im-pencil2"></i> 已取消订单</a></li>
                    {/eq}
                    {eq name="aduser.rules,  '出售订单'| rules" value="true"}
                    <li><a href="{:url('trade/cswc')}"><i class="im-pencil2"></i> 出售订单</a></li>
                    {/eq}
                </ul>
            </li>
            {/eq}
            {eq name="aduser.rules,  '公告管理'| rules" value="true"}
            <li>
                <a href="#"> 财务管理 <i class="en-text2"></i></a>
                <ul class="nav sub">
                    {eq name="aduser.rules,  '转账记录'| rules" value="true"}
                    <li><a href="{:url('caiwu/index')}"><i class="im-pencil"></i>转账记录</a></li>
                    {/eq}
                    {eq name="aduser.rules,  '推广收益列表'| rules" value="true"}
                    <li><a href="{:url('caiwu/tgsy')}"><i class="ec-refresh"></i> 推广收益列表</a></li>
                    {/eq}
                    {eq name="aduser.rules,  '财务明细'| rules" value="true"}
                    <li><a href="{:url('caiwu/detail')}"><i class="ec-refresh"></i> 财务明细</a></li>
                    {/eq}
                    {eq name="aduser.rules,  '矿机收益列表'| rules" value="true"}
                    <li><a href="{:url('profit/kcsy')}"><i class="im-user3"></i> 矿机收益列表</a></li>
                    {/eq}
                </ul>
            </li>
            <li>
                <a href="#"> 公告管理 <i class="en-text2"></i></a>
                <ul class="nav sub">
                    {eq name="aduser.rules,  '系统公告'| rules" value="true"}
                    <li><a href="{:url('fabu/gonggao_list')}"><i class="im-pencil"></i> 系统公告</a></li>
                    {/eq}
                    {eq name="aduser.rules, '项目指导' | rules" value="true"}
                    <li><a href="{:url('fabu/zhidao_list')}"><i class="im-pencil2"></i> 项目指导</a></li>
                    {/eq}
                </ul>
            </li>
            {/eq}
            {eq name="aduser.rules,  '矿机商城'| rules" value="true"}
            <li>
                <a href="#"> 矿机商城 <i class="im-stackoverflow"></i></a>
                <ul class="nav sub">
                    {eq name="aduser.rules, '矿机添加' | rules" value="true"}
                    <li><a href="{:url('project/addproject')}"><i class="im-user3"></i> 矿机添加</a></li>
                    {/eq}
                    {eq name="aduser.rules, '矿机列表' | rules" value="true"}
                    <li><a href="{:url('project/listproject')}"><i class="ec-refresh"></i> 矿机列表</a></li>
                    {/eq}
                    {eq name="aduser.rules,  '矿机订单'| rules" value="true"}
                    <li><a href="{:url('project/listorderform')}"><i class="ec-refresh"></i> 矿机订单</a></li>
                    {/eq}
                </ul>
            </li>
            {/eq}
            <!--{eq name="aduser.rules,  '收益明细'| rules" value="true"}
            <li>
                <a href="#"> 收益明细 <i class="ec-archive"></i></a>
                <ul class="nav sub">
                    {eq name="aduser.rules,  '矿机收益列表'| rules" value="true"}
                    <li><a href="{:url('profit/kcsy')}"><i class="im-user3"></i> 矿机收益列表</a></li>
                    {/eq}
                  
                </ul>
            </li>
            {/eq}-->
            {eq name="aduser.rules, '留言管理' | rules" value="true"}
            <!--<li>
                <a href="#"> 留言管理 <i class="ec-archive"></i></a>
                <ul class="nav sub">
                    {eq name="aduser.rules, '未处理留言' | rules" value="true"}
                    <li><a href="{:url('shop/ly_list',['type' => '0'])}"><i class="im-user3"></i> 未处理留言</a></li>
                    {/eq}
                    {eq name="aduser.rules, '已处理留言' | rules" value="true"}
                    <li><a href="{:url('shop/ly_list',['type' => '1'])}"><i class="ec-refresh"></i> 已处理留言</a></li>
                    {/eq}
                </ul>
            </li>-->
            {/eq}
            {eq name="aduser.rules,  '投诉管理'| rules" value="true"}
           <li>
            <a href="#"> 投诉管理 <i class="en-text2"></i></a>
            <ul class="nav sub">
                {eq name="aduser.rules,  '未处理'| rules" value="true"}
                <li><a href="{:url('tousu/get_list',['type' => '0'])}"><i class="im-pencil"></i> 未处理</a></li>
                {/eq}
                {eq name="aduser.rules,  '已处理'| rules" value="true"}
                <li><a href="{:url('tousu/get_list',['type' => '1'])}"><i class="im-pencil2"></i> 已处理</a></li>
                {/eq}
            </ul>
            </li>
            {/eq}
            {eq name="aduser.rules,  '系统参数'| rules" value="true"}
            <li><a href="{:url('index/setting')}">系统参数 <i class="ec-cog"></i></a></li>
            {/eq}
            <li><a href="{:url('publics/logout')}">安全退出 <i class="fa-signout"></i></a></li>
        </ul>
        <!-- End #sideNav -->
        <!-- Start .sidebar-panel -->
        <div class="sidebar-panel">
           <!-- <a href="http://omechain.co" target="_black"><h4 class="sidebar-panel-title"><i class="im-fire"></i> PC官网</h4></a>-->
            <a href="https://etherscan.io" target="_black"><h4 class="sidebar-panel-title"><i class="im-fire"></i> 以太坊</h4></a>

            <div class="sidebar-panel-content">
                <ul class="server-stats">
                    <li>
                        <span class="txt">显示项1</span>
                        <span class="percent">78</span>
                        <div id="usage-sparkline" class="sparkline">说明...</div>
                        <div class="pie-chart" data-percent="78"></div>
                    </li>
                </ul>
                <ul class="server-stats">
                    <li>
                        <span class="txt">显示项2</span>
                        <span class="percent">56</span>
                        <div id="cpu-sparkline" class="sparkline">说明...</div>
                        <div class="pie-chart" data-percent="56"></div>
                    </li>
                </ul>
                <ul class="server-stats">
                    <li>
                        <span class="txt">显示项3</span>
                        <span class="percent">14</span>
                        <div id="ram-sparkline" class="sparkline">说明...</div>
                        <div class="pie-chart" data-percent="14"></div>
                    </li>
                </ul>
            </div>
        </div>
        <!-- End .sidebar-panel -->
    </div>
    <!-- End .sidebar-inner -->
</div>
<!-- End #sidebar -->